﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Contact.ascx.cs" Inherits="VIT.Web.UserControl.Contact" %>

<div id="news">
    <div class="news_content">
        <div class="contentcenter">
            <div class="contact_form">
                <div class="a lert">
                    <ul>
                        <li id="lblThongBao" runat="server" visible="false">
                            <%= GetLocalResourceObject("NotValid")%></li>
                        <li id="lblMaXacNhan" runat="server" visible="false">
                            <%= GetLocalResourceObject("WrongCode")%></li>
                        <li id="lblThanhCong" runat="server" visible="false">
                            <%= GetLocalResourceObject("SendSuccess")%></li>
                        <li id="lblThatBai" runat="server" visible="false">
                            <%= GetLocalResourceObject("SendFail")%></li>
                        <ul>
                </div>
                <div class="ct_box_silver">
                    <div class="row_form">
                        <div class="left_cell_form">
                            <div class="text_left_form">
                                <%= GetLocalResourceObject("FullName")%>
                                :</div>
                        </div>
                        <div class="right_cell_form">
                            <asp:TextBox ID="txtName" runat="server" CssClass="input_form validate[required,length[5,50]]"></asp:TextBox></div>
                    </div>
                    <div class="row_form">
                        <div class="left_cell_form">
                            <div class="text_left_form">
                                <%= GetLocalResourceObject("Email")%>
                                :</div>
                        </div>
                        <div class="right_cell_form">
                            <asp:TextBox ID="txtEmail" CssClass="input_form validate[required,custom[email]]"
                                runat="server"></asp:TextBox></div>
                    </div>
                    <div class="row_form">
                        <div class="left_cell_form">
                            <div class="text_left_form">
                                <%= GetLocalResourceObject("Phone")%>
                                :</div>
                        </div>
                        <div class="right_cell_form">
                            <asp:TextBox ID="txtPhone" runat="server" CssClass="input_form"></asp:TextBox></div>
                    </div>
                    <div class="row_form">
                        <div class="left_cell_form">
                            <div class="text_left_form">
                                <%= GetLocalResourceObject("Address")%>
                                :</div>
                        </div>
                        <div class="right_cell_form">
                            <asp:TextBox ID="txtAddress" runat="server" CssClass="input_form"></asp:TextBox></div>
                    </div>
                    <div class="row_form">
                        <div class="left_cell_form">
                            <div class="text_left_form">
                                <%= GetLocalResourceObject("Subject")%>
                                :</div>
                        </div>
                        <div class="right_cell_form">
                            <asp:TextBox ID="txtSubject" runat="server" CssClass="input_form validate[required,length[5,100]]"></asp:TextBox></div>
                    </div>
                    <div class="row_form">
                        <div class="left_cell_form">
                            <div class="text_left_form">
                                <%= GetLocalResourceObject("Content")%>
                                :</div>
                        </div>
                        <div class="right_cell_form">
                            <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" CssClass="area_form validate[required]"></asp:TextBox></div>
                    </div>
                    <div class="row_form">
                        <div class="left_cell_form">
                            <div class="text_left_form">
                                &nbsp;</div>
                        </div>
                        <div class="right_cell_form">
                            <img id="imgCaptcha" runat="server" alt="Confirm Code" width="120" height="30" />
                            <asp:Button ID="btnDoiMa" runat="server" Text="Đổi mã" OnClick="btnDoiMa_Click" CssClass="ChangeCode"
                                ViewStateMode="Disabled" />
                        </div>
                    </div>
                    <div class="row_form">
                        <div class="left_cell_form">
                            <div class="text_left_form">
                                <%= GetLocalResourceObject("ConfirmCode")%>
                                :</div>
                        </div>
                        <div class="right_cell_form">
                            <asp:TextBox ID="txtCode" runat="server" CssClass="input_form"></asp:TextBox>
                        </div>
                    </div>
                    <div class="row_form">
                        <div class="text_row_form" style="text-align: center">
                            <span class="text_row_form" style="text-align: center">
                                <asp:Button ID="btnSend" runat="server" Text="Gửi" CssClass="btn_form" ViewStateMode="Disabled"
                                    OnClientClick="$('#frmMain').validationEngine();" OnClick="btnSend_Click" />
                            </span>
                            <asp:Button ID="btnExit" runat="server" Text="Viết lại" CssClass="btn_form" ViewStateMode="Disabled"
                                OnClick="btnExit_Click" />
                        </div>
                    </div>
                </div>
            </div>
            <div style="clear: both">
            </div>
        </div>
    </div>
</div>
